const wear=require('../models/womenwear');

var wearModel=wear.model;

async function findByKind(kind){
    console.log(kind);
    var data=await wearModel.find({kind:kind});
    console.log(data);
    return data;
}

exports.findByKind=findByKind;